package com.wll.store.user.service;


import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.baomidou.mybatisplus.extension.service.IService;
import com.wll.store.user.dto.AddrPageInfo;
import com.wll.store.user.entity.Address;

/**
 * <p>
 *  服务类
 * </p>
 *
 * @author sdx2009
 * @since 2022-09-06
 */
public interface AddressService extends IService<Address> {

    Page<Address> getAddrPage(AddrPageInfo addrPageInfo);

    Boolean addAddr(Address address);

    //根据用户名修改用户地址信息
    Boolean updateAddrInfoByname(Address address);

    //根据用户id删除用户
    Boolean deleteAddrInfoById(Integer id);

}
